//
//  DemoVC.m
//  链式语法
//
//  Created by 申元江 on 2018/8/20.
//  Copyright © 2018年 申元江. All rights reserved.
//

#import "DemoVC.h"
#import "Calculator.h"
@interface DemoVC ()

@end

@implementation DemoVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    Calculator *calc = [[Calculator alloc] init];
    calc.add(8).mins(4).multiply(6).divide(3);
    NSLog(@"%ld",calc.result);
}


@end
